﻿using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Linq;

namespace Xejen.Languages
{
    /// <summary>
    /// 表示语言包的Json原数据
    /// </summary>
    /// <creator>marc</creator>
    internal class LanguageJsonData
    {
        /// <summary>
        /// 本地语言名称
        /// </summary>
        public string LanguageName { get; set; }
        /// <summary>
        /// 简写
        /// </summary>
        public string LanguageCode { get; set; }
        /// <summary>
        /// 排序
        /// </summary>
        public float Order { get; set; }
        /// <summary>
        /// 是否默认
        /// </summary>
        public bool Default { get; set; }
        /// <summary>
        /// 数据字典
        /// </summary>
        public Dictionary<string, JToken> Translations { get; set; } = new Dictionary<string, JToken>();

        /// <inheritdoc cref="LanguageJsonData"/>
        public LanguageJsonData() { }
    }
}
